package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("xu_registrantion")
public class RegistrationEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField(value = "family_name")
    private String familyName;
    private String sex;
    @TableField(value = "id_number")
    private String idNumber;
    private String region;
    private String birth;
    private String nation;
    private String phone;
    private String marry;
    private String work;
    private String country;
    private String address;
    @TableField(value = "post_code")
    private String postCode;
    @TableField(value = "work_address")
    private String workAddress;
    @TableField(value = "parent_name")
    private String parentName;
    private Date date;
    private String office;
    @TableField(value = "out_depart")
    private String outDepart;
    private String remarks;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "user_id")
    private Integer userId;
}
